﻿<navigation:Page
x:Class="MedLink2011.Views.Patients.Controls.ConsultationsControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
mc:Ignorable="d"
x:Name="ConsultationControlUI"
Background="AliceBlue"
xmlns:E2C="clr-namespace:MedLink2011.Core"
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
xmlns:viewModels="clr-namespace:MedLink2011.Views.Patients.ViewModels" 
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
xmlns:appControls="clr-namespace:MedLink2011.Controls" 
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
xmlns:telerik1="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 
xmlns:GridView="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView">
<!--77 Fields --> 
<UserControl.Resources>
<viewModels:ConsultationViewModel x:Key="ConsultationViewModel" ></viewModels:ConsultationViewModel>
 <LinearGradientBrush x:Key="Windows7RowBackground" EndPoint="0.5,1" StartPoint="0.5,0">
 <GradientStop Color="#FFF7FBFF"/>
 <GradientStop Color="#FFDCE7F5" Offset="1"/>
 <GradientStop Color="#FFDFE9F6" Offset="0.494"/>
 </LinearGradientBrush>
 <ControlTemplate x:Key="MyCustomTelerikRowTemplate" TargetType="GridView:GridViewRow">
 <Border x:Name="rowsContainer" BorderBrush="#FFA0AFC3"
 Background="{StaticResource Windows7RowBackground}" BorderThickness="0,0,0,1">
 <Grid Width="Auto" HorizontalAlignment="Stretch">
 <Grid.RowDefinitions>
 <RowDefinition Height="Auto"/>
 <RowDefinition Height="Auto"/>
 </Grid.RowDefinitions>
 <Grid.ColumnDefinitions>
 <ColumnDefinition Width="Auto" />
 <ColumnDefinition Width="Auto" />
 </Grid.ColumnDefinitions>
 <StackPanel Grid.Column="0" Grid.Row="0" Orientation="vertical" Margin="5" >


<TextBlock Height="20"  Text="Consultation Id:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap" />
<TextBlock Height="20"  Text="Temperature:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Blood Pressure Systolic:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Blood Pressure Diastolic:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Pulse:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Respiratory Rate:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Pain:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Height:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Weight:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Date:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />

</StackPanel>
<StackPanel  Grid.Column="1" Grid.Row="0" Orientation="vertical" Margin="5" >
<!-- uno -->
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Consultation_id}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Temperature}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Blood_Pressure_Systolic}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Blood_Pressure_Diastolic}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Pulse}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Respiratory_Rate}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Pain}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Height}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Weight}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Date, StringFormat=\{0:dddd MMMM d yyyy HH:mm:ss\}}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />

 </StackPanel>
 </Grid>
 </Border>
 </ControlTemplate>
 <Style x:Key="rowStyle" TargetType="GridView:GridViewRow">
 <Setter Property="Template" Value="{StaticResource MyCustomTelerikRowTemplate}" />
 </Style>
</UserControl.Resources>

 <appControls:BusyIndicator x:Name="BusyIndicator" BusyContent="Loading Consultations data...." DataContext="{Binding Source={StaticResource ConsultationViewModel}}" IsBusy="{Binding IsBusy}">
 <Grid x:Name="LayoutRoot"  DataContext="{Binding Source={StaticResource ConsultationViewModel}}">
 <Border BorderBrush="#FF505050" BorderThickness="2" CornerRadius="3">
 <Border.Background>
 <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
 <GradientStop Color="#ED71A5D8" Offset="0.8" />
 <GradientStop Color="AliceBlue" Offset="1.09" />
 </LinearGradientBrush>
 </Border.Background>
 <ScrollViewer  VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
 <Grid HorizontalAlignment="Left" x:Name="ConsultationsGrid" VerticalAlignment="Top" >
<Grid.RowDefinitions>
<RowDefinition Height="32" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
 <ColumnDefinition Width="30" />
 <ColumnDefinition Width="Auto" />
 <ColumnDefinition Width="Auto" />
 <ColumnDefinition Width="60" />
 <ColumnDefinition Width="400*" />
</Grid.ColumnDefinitions>




    <StackPanel Grid.Column="1" Grid.Row="1" Orientation="vertical"  >
<!-- dos -->
<TextBlock Height="30" ToolTipService.ToolTip="Consultation Id" ToolTipService.Placement="Mouse" Text="Consultation Id:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Temperature" ToolTipService.Placement="Mouse" Text="Temperature:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Blood Pressure Systolic" ToolTipService.Placement="Mouse" Text="Blood Pressure Systolic:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Blood Pressure Diastolic" ToolTipService.Placement="Mouse" Text="Blood Pressure Diastolic:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Pulse" ToolTipService.Placement="Mouse" Text="Pulse:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Respiratory Rate" ToolTipService.Placement="Mouse" Text="Respiratory Rate:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Pain" ToolTipService.Placement="Mouse" Text="Pain:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Height" ToolTipService.Placement="Mouse" Text="Height:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Weight" ToolTipService.Placement="Mouse" Text="Weight:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Pregnant" ToolTipService.Placement="Mouse" Text="Pregnant:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="32" ToolTipService.ToolTip="Date" ToolTipService.Placement="Mouse" Text="Date:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="32" ToolTipService.ToolTip="Time In" ToolTipService.Placement="Mouse" Text="Time In:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="32" ToolTipService.ToolTip="Time Out" ToolTipService.Placement="Mouse" Text="Time Out:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Location" ToolTipService.Placement="Mouse" Text="Location:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Severity" ToolTipService.Placement="Mouse" Text="Severity:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Disposition" ToolTipService.Placement="Mouse" Text="Disposition:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Diagnosis" ToolTipService.Placement="Mouse" Text="Diagnosis:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Clinical Notes" ToolTipService.Placement="Mouse" Text="Clinical Notes:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Patient Recomendations" ToolTipService.Placement="Mouse" Text="Patient Recomendations:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Purpose" ToolTipService.Placement="Mouse" Text="Purpose:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Heart Rate" ToolTipService.Placement="Mouse" Text="Heart Rate:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Cholesterol" ToolTipService.Placement="Mouse" Text="Cholesterol:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Hdl" ToolTipService.Placement="Mouse" Text="Hdl:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Triglicerides" ToolTipService.Placement="Mouse" Text="Triglicerides:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Ldl" ToolTipService.Placement="Mouse" Text="Ldl:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />

<TextBlock Height="30" ToolTipService.ToolTip="Glycemia" ToolTipService.Placement="Mouse" Text="Glycemia:"  HorizontalAlignment="Left" Margin="0,10,0,0" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Addominal Circunference" ToolTipService.Placement="Mouse" Text="Addominal Circunference:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Frequently Thirsty" ToolTipService.Placement="Mouse" Text="Frequently Thirsty:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Frequently Hungry" ToolTipService.Placement="Mouse" Text="Frequently Hungry:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Frequently Urination" ToolTipService.Placement="Mouse" Text="Frequently Urination:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Chest Pain" ToolTipService.Placement="Mouse" Text="Chest Pain:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Chest Pain On Exercise Only" ToolTipService.Placement="Mouse" Text="Chest Pain On Exercise Only:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Stressed Out" ToolTipService.Placement="Mouse" Text="Stressed Out:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Sudden Weight Change" ToolTipService.Placement="Mouse" Text="Sudden Weight Change:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Easily Bruised Or Bleeding" ToolTipService.Placement="Mouse" Text="Easily Bruised Or Bleeding:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Feels Tired" ToolTipService.Placement="Mouse" Text="Feels Tired:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Dificulty Breathing" ToolTipService.Placement="Mouse" Text="Dificulty Breathing:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Frequently Headaches" ToolTipService.Placement="Mouse" Text="Frequently Headaches:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Memory Loss" ToolTipService.Placement="Mouse" Text="Memory Loss:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Fainting Episode" ToolTipService.Placement="Mouse" Text="Fainting Episode:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Blurry Vision" ToolTipService.Placement="Mouse" Text="Blurry Vision:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Mood Swings" ToolTipService.Placement="Mouse" Text="Mood Swings:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Other Symptoms" ToolTipService.Placement="Mouse" Text="Other Symptoms:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="32" ToolTipService.ToolTip="Directions Next Consult" ToolTipService.Placement="Mouse" Text="Directions Next Consult:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Doctor For Next Appointment" ToolTipService.Placement="Mouse" Text="Doctor For Next Appointment:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Foreground="#FF7635FC"  Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Directions Medical Advice" ToolTipService.Placement="Mouse" Text="Directions Medical Advice:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Doctor Id" ToolTipService.Placement="Mouse" Text="Doctor Id:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Recent Antibiotic Use" ToolTipService.Placement="Mouse" Text="Recent Antibiotic Use:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Recent Oral Steroid Use" ToolTipService.Placement="Mouse" Text="Recent Oral Steroid Use:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Recent Er Visit" ToolTipService.Placement="Mouse" Text="Recent Er Visit:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />

</StackPanel>
<StackPanel Grid.Column="2" Grid.Row="1" Orientation="vertical"  >

<TextBlock  Height="30" HorizontalAlignment="Left" Margin="1" Text="{Binding CurrentConsultation.Consultation_id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" FontWeight="Bold" />
<TextBox Style="{StaticResource PagingTextBoxStyle}" ToolTipService.ToolTip="Temperature" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Temperature, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox Style="{StaticResource PagingTextBoxStyle}" ToolTipService.ToolTip="Blood Pressure Systolic" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Blood_Pressure_Systolic, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox Style="{StaticResource CosmoTextBox}" ToolTipService.ToolTip="Blood Pressure Diastolic" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Blood_Pressure_Diastolic, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox Style="{StaticResource CosmoTextBox}" ToolTipService.ToolTip="Pulse" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Pulse, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox Style="{StaticResource MetroTextBox}" ToolTipService.ToolTip="Respiratory Rate" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Respiratory_Rate, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox Style="{StaticResource MetroTextBox}" ToolTipService.ToolTip="Pain" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Pain, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="20"/>
<TextBox Style="{StaticResource JetPackTextBox}" ToolTipService.ToolTip="Height" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Height, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox Style="{StaticResource JetPackTextBox}" ToolTipService.ToolTip="Weight" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Weight, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Pregnant" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Pregnant, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<sdk:DatePicker Style="{StaticResource JetPackDatePicker}" ToolTipService.ToolTip="Date" ToolTipService.Placement="Mouse"  Height="30" HorizontalAlignment="Left" Margin="1"  SelectedDate="{Binding CurrentConsultation.Date, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<sdk:DatePicker Style="{StaticResource JetPackDatePicker}" ToolTipService.ToolTip="Time In" ToolTipService.Placement="Mouse"  Height="30" HorizontalAlignment="Left" Margin="1"  SelectedDate="{Binding CurrentConsultation.Time_In, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<sdk:DatePicker Style="{StaticResource JetPackDatePicker}" ToolTipService.ToolTip="Time Out" ToolTipService.Placement="Mouse"  Height="30" HorizontalAlignment="Left" Margin="1"  SelectedDate="{Binding CurrentConsultation.Time_Out, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Location" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Location, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="255"/>
<TextBox ToolTipService.ToolTip="Severity" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Severity, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="255"/>
<TextBox ToolTipService.ToolTip="Disposition" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Disposition, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="255"/>
<TextBox ToolTipService.ToolTip="Diagnosis" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Diagnosis, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="255"/>
<TextBox ToolTipService.ToolTip="Clinical Notes" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Clinical_Notes, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="255"/>
<TextBox ToolTipService.ToolTip="Patient Recomendations" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Patient_recomendations, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="255"/>
<TextBox ToolTipService.ToolTip="Purpose" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Purpose, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="200"/>
<TextBox ToolTipService.ToolTip="Heart Rate" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Heart_Rate, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Cholesterol" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Cholesterol, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Hdl" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.HDL, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Triglicerides" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Triglicerides, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Ldl" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.LDL, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />

<TextBox ToolTipService.ToolTip="Glycemia" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Glycemia, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Addominal Circunference" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Addominal_Circunference, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Frequently Thirsty" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Frequently_Thirsty, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Frequently Hungry" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Frequently_Hungry, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Frequently Urination" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Frequently_Urination, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Chest Pain" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Chest_Pain, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Chest Pain On Exercise Only" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Chest_pain_on_exercise_only, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Stressed Out" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Stressed_out, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Sudden Weight Change" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Sudden_Weight_change, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Easily Bruised Or Bleeding" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Easily_Bruised_or_Bleeding, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Feels Tired" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Feels_tired, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Dificulty Breathing" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Dificulty_Breathing, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Frequently Headaches" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Frequently_Headaches, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Memory Loss" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Memory_loss, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Fainting Episode" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Fainting_Episode, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Blurry Vision" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Blurry_Vision, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Mood Swings" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Mood_Swings, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Other Symptoms" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Other_Symptoms, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="1000"/>
<sdk:DatePicker Style="{StaticResource JetPackDatePicker}" ToolTipService.ToolTip="Directions Next Consult" ToolTipService.Placement="Mouse"  Height="30" HorizontalAlignment="Left" Margin="1"  SelectedDate="{Binding CurrentConsultation.Directions_Next_Consult, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Doctor For Next Appointment" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Doctor_for_next_Appointment, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="100"/>
<TextBox ToolTipService.ToolTip="Directions Medical Advice" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Directions_Medical_Advice, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="1000"/>

<ComboBox  ItemsSource="{Binding DoctorCollection, Mode=TwoWay}" DisplayMemberPath = "First_Name" SelectedItem="{Binding SelectedDoctor, Mode=TwoWay}" x:Name="Doctor_IdComboBox"  VerticalAlignment="Top" Width="180" FontSize="15" Background="#FFFCF6EA" Height="30" Foreground="Black" Margin="1">
<ComboBox.BorderBrush>
<SolidColorBrush Color="#FF0E1601"/>
</ComboBox.BorderBrush>
</ComboBox>
<CheckBox ToolTipService.ToolTip="Recent Antibiotic Use" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Recent_Antibiotic_use, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Recent Oral Steroid Use" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Recent_Oral_steroid_use, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Recent Er Visit" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Recent_ER_Visit, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />

</StackPanel>



                        <StackPanel Grid.Column="0" Grid.Row="2" Orientation="Horizontal"  Grid.ColumnSpan="5">
                            <Button   x:Name="printButton" Content="Print" Margin="0,10,5,5" Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding PrintConsultationCommand}"  />
                            <Button  x:Name="addButton" Content="Add New" Margin="5,10,5,5" Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding AddNewConsultationCommand}" />
                            <Button   x:Name="saveButton" Content="Save" Margin="5,10,5,5"  Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding SaveConsultationCommand}"  />
                            <Button   x:Name="deleteButton" Content="Delete" Margin="5,10,5,5" Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding DeleteConsultationCommand}" />
                        </StackPanel>
                        
<StackPanel Grid.Column="4" Grid.Row="1" Orientation="vertical"  >
<!-- cuatro -->
<!--<Controls:RadDataPager telerik1:StyleManager.Theme="Windows7" Height="33" x:Name="ConsultationDataPager" PageSize="5" Margin="1,-5,1,1"  Source="{Binding Items, ElementName=ConsultationDataGrid}" DisplayMode="FirstLastPreviousNext" AutoEllipsisMode="Both" NumericButtonCount="0" IsTotalItemCountFixed="True" Style="{StaticResource RadDataPagerStyle1}"/>-->

<telerik:RadGridView telerik1:StyleManager.Theme="Windows7" ShowColumnHeaders="False" RowStyle="{StaticResource rowStyle}" MinHeight="200" Width="400" Height="200" ShowGroupPanel="False" CanUserFreezeColumns="False" ScrollMode="RealTime"  IsFilteringAllowed="False"   AutoGenerateColumns="False" IsReadOnly="True" GridLinesVisibility="None" DataContext="{Binding Source={StaticResource ConsultationViewModel}}" ItemsSource="{Binding ConsultationCollection, Mode=TwoWay}" x:Name="ConsultationDataGrid" Style="{StaticResource  RadGridViewStyle1}"   >
                             <i:Interaction.Triggers>
                                <i:EventTrigger EventName="SelectionChanged">
                                    <E2C:EventToCommand Command="{Binding SelectionChangedCommand}" PassEventArgsToCommand="True"  ></E2C:EventToCommand>
                                </i:EventTrigger>
                                <i:EventTrigger EventName="RowLoaded">
                                    <E2C:EventToCommand Command="{Binding RowLoadedCommand}" PassEventArgsToCommand="True"  ></E2C:EventToCommand>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                            <telerik:RadGridView.Columns >

<telerik:GridViewDataColumn x:Name="Consultation_idColumn" DataMemberBinding="{Binding Consultation_id}" Header="Consultation Id" Width="SizeToHeader" />
                            </telerik:RadGridView.Columns>
                        </telerik:RadGridView>

    
   
    
           <StackPanel Orientation="Horizontal" Margin="0,20,0,0" >
        <!--Seis a -->

               <StackPanel Orientation="Vertical" Margin="20,0,0,0" >
            <!--Seis d -->
                    <TextBlock Height="30" ToolTipService.ToolTip="Recent Weight Loss Or Decreased Appetite" ToolTipService.Placement="Mouse" Text="Recent Weight Loss Or Decreased Appetite:"  HorizontalAlignment="Left" Margin="0,10,0,0" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Recent Hospital Admission" ToolTipService.Placement="Mouse" Text="Recent Hospital Admission:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Planned Air Travel In Near Future" ToolTipService.Placement="Mouse" Text="Planned Air Travel In Near Future:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Spirometry Evaluation Performed Within Previous 12 Months" ToolTipService.Placement="Mouse" Text="Spirometry Evaluation Performed Within Previous 12 Months:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Asymptomatic With Usual Activity" ToolTipService.Placement="Mouse" Text="Asymptomatic With Usual Activity:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Symptomatic With Usual Activity" ToolTipService.Placement="Mouse" Text="Symptomatic With Usual Activity:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Symptomatic With Minimal Activity" ToolTipService.Placement="Mouse" Text="Symptomatic With Minimal Activity:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Symptomatic At Rest" ToolTipService.Placement="Mouse" Text="Symptomatic At Rest:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="At Risk" ToolTipService.Placement="Mouse" Text="At Risk:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Mild" ToolTipService.Placement="Mouse" Text="Mild:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Moderate" ToolTipService.Placement="Mouse" Text="Moderate:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Severe" ToolTipService.Placement="Mouse" Text="Severe:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Very Severe" ToolTipService.Placement="Mouse" Text="Very Severe:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Increased Cough" ToolTipService.Placement="Mouse" Text="Increased Cough:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Increased Dyspnea" ToolTipService.Placement="Mouse" Text="Increased Dyspnea:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Increased Sputum Production" ToolTipService.Placement="Mouse" Text="Increased Sputum Production:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Current Medications Were Reviewed" ToolTipService.Placement="Mouse" Text="Current Medications Were Reviewed:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Medication Notes" ToolTipService.Placement="Mouse" Text="Medication Notes:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Allergy List Reviewed" ToolTipService.Placement="Mouse" Text="Allergy List Reviewed:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Food Or Drug Allergies" ToolTipService.Placement="Mouse" Text="Food Or Drug Allergies:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Allergies Notes" ToolTipService.Placement="Mouse" Text="Allergies Notes:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Current Illness Notes" ToolTipService.Placement="Mouse" Text="Current Illness Notes:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Patient Id" ToolTipService.Placement="Mouse" Text="Patient Id:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />

                </StackPanel>
                <StackPanel Orientation="Vertical" Margin="0" >
                <!--Seis e -->
                    <CheckBox ToolTipService.ToolTip="Recent Weight Loss Or Decreased Appetite" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Recent_Weight_loss_or_decreased_appetite, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Recent Hospital Admission" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Recent_Hospital_admission, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Planned Air Travel In Near Future" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Planned_air_travel_in_near_future, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Spirometry Evaluation Performed Within Previous 12 Months" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Spirometry_evaluation_performed_within_previous_12_months, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Asymptomatic With Usual Activity" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Asymptomatic_with_usual_activity, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Symptomatic With Usual Activity" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Symptomatic_with_usual_activity, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Symptomatic With Minimal Activity" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Symptomatic_with_minimal_activity, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Symptomatic At Rest" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Symptomatic_at_rest, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="At Risk" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.at_risk, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Mild" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Mild, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Moderate" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Moderate, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Severe" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Severe, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Very Severe" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Very_Severe, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Increased Cough" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Increased_cough, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Increased Dyspnea" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.increased_dyspnea, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Increased Sputum Production" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.increased_sputum_production, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Current Medications Were Reviewed" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Current_Medications_were_reviewed, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Medication Notes" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Medication_Notes, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="250"/>
<CheckBox ToolTipService.ToolTip="Allergy List Reviewed" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Allergy_List_reviewed, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Food Or Drug Allergies" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentConsultation.Food_or_Drug_Allergies, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Allergies Notes" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Allergies_Notes, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="250"/>
<TextBox ToolTipService.ToolTip="Current Illness Notes" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentConsultation.Current_Illness_Notes, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="250"/>

<ComboBox  ItemsSource="{Binding PatientCollection, Mode=TwoWay}" DisplayMemberPath = "First_Name" SelectedItem="{Binding SelectedPatient, Mode=TwoWay}" x:Name="Patient_IdComboBox"  VerticalAlignment="Top" Width="180" FontSize="15" Background="#FFFCF6EA" Height="30" Foreground="Black" Margin="1">
<ComboBox.BorderBrush>
<SolidColorBrush Color="#FF0E1601"/>
</ComboBox.BorderBrush>
</ComboBox>

                </StackPanel>
            </StackPanel>
    
    
    
    
</StackPanel>
    <!-- 3 -->
                    </Grid>
                </ScrollViewer>
            </Border>
        </Grid>
    </appControls:BusyIndicator>
</navigation:Page>
<!--
Consult_Payments
Diagnos
Exams
Insurances
Pathologies
Prescriptions

Now Parent Rels 

Doctors
Patients

9
-->
